package com.erytech.linktalk.dao;

import java.sql.Timestamp;
import java.util.List;

import com.erytech.linktalk.dao.domain.Message;
import com.erytech.linktalk.dao.domain.User;

public interface MessageDao {

	Message insertMessage(Message message);
	
	void insertEnterRoomMessage(User user);

	void insertLeftRoomMessage(User user);

	List getMessageList(User user);

	void deleteOldMessages(Timestamp timestamp);
	
}
